class Car:
    def __init__(self,brand,speed):
        self.brand=brand
        self.speed=speed

class Ecar(Car):
    def __init__(self,brand,speed,capacity,power):
        super().__init__(brand,speed)
        self.capacity=capacity
        self.power=power

e1=Ecar("雅迪",100,5000,60)
